package com.platform.dao;

import com.platform.pojo.Enum;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface EnumMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Enum record);

    int insertSelective(Enum record);

    Enum selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Enum record);

    int updateByPrimaryKey(Enum record);

    List<Map> selectEnumByPamam(Map param);

    String selectValuesByCatalogAndTypeAndNames(@Param(value = "catalog") String catalog,
                                                @Param(value = "type") String type,
                                                @Param(value = "names") String names);
}